package com.bestv.search.common.service;

import com.bestv.search.common.dataSource.DataSourceKey;
import com.bestv.search.common.model.Series;

import java.util.List;

public interface SeriesManager {

    void saveSeriesList(DataSourceKey key, List<Series> list);

    List<Series> getSeriesByCode(DataSourceKey key, String code);

    Series get(DataSourceKey key, long id);

    void saveOrUpdate(DataSourceKey key, Series series);

    void saveOrUpdate(DataSourceKey key, List<Series> seriesList);

}
